#ifndef ZIGBEESTRUCT_H
#define ZIGBEESTRUCT_H

#include <QObject>
#include "DataType/ControlPointStruct.h"

class ZigbeeStruct
{

public:
    explicit ZigbeeStruct();
    QByteArray mac() const;
    void setMac(const QByteArray &mac);

    QByteArray nwk() const;
    void setNwk(const QByteArray &nwk);

    quint16 type() const;
    void setType(const quint16 &type);
    
    QList<ControlPointStruct> pointList() const;
    void setPointList(const QList<ControlPointStruct> &pointList);

    QByteArray pointValue() const;
    void setPointValue(const QByteArray &data);

private:
    QByteArray m_mac;
    QByteArray m_nwk;
    quint16 m_type;
    QByteArray m_pointValue;
    QList<ControlPointStruct> m_pointList;
};

#endif // ZIGBEESTRUCT_H
